package com.ruoyi.boss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 新建会员等级对象 membership_levels
 * 
 * @author rui
 * @date 2025-08-18
 */
public class MembershipLevels extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 等级ID */
    private Long levelId;

    /** 等级名称 */
    @Excel(name = "等级名称")
    private String levelName;

    /** 成长值 */
    @Excel(name = "成长值")
    private Long growthPoints;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 新建人 */
    @Excel(name = "新建人")
    private String createdBy;

    /** 新建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "新建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 最后修改人 */
    private String updatedBy;

    /** 最后修改时间 */
    private Date updatedAt;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setLevelId(Long levelId) 
    {
        this.levelId = levelId;
    }

    public Long getLevelId() 
    {
        return levelId;
    }

    public void setLevelName(String levelName) 
    {
        this.levelName = levelName;
    }

    public String getLevelName() 
    {
        return levelName;
    }

    public void setGrowthPoints(Long growthPoints) 
    {
        this.growthPoints = growthPoints;
    }

    public Long getGrowthPoints() 
    {
        return growthPoints;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("levelId", getLevelId())
            .append("levelName", getLevelName())
            .append("growthPoints", getGrowthPoints())
            .append("status", getStatus())
            .append("createdBy", getCreatedBy())
            .append("createdAt", getCreatedAt())
            .append("updatedBy", getUpdatedBy())
            .append("updatedAt", getUpdatedAt())
            .append("notes", getNotes())
            .toString();
    }
}
